<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * FormativeLab
 *
 * An open source application development framework for PHP 5.1.6 or newer
 *
 * @package		FormativeLab
 * @author		FormativeLab Dev Team
 * @copyright	Copyright (c) 2011 - 2013, FormativeLab, Inc.
 * @license		http://www.formativesoft.com/license/
 * @link		http://www.formativesoft.com/
 * @since		Version 2.0
 * @filesource ./application/modules/admin/controllers/Welcome.php
 */

// ------------------------------------------------------------------------

/**
 * FormativeLab Welcome Controller
 *
 * @package		FormativeLab
 * @subpackage	modules/admin/controllers
 * @category	controllers
 * @author		Formative Soft Ltd
 * @link		http://www.formativesoft.com/
 */

// ------------------------------------------------------------------------

class Welcome extends FSL_Controller {

	static $helpers	= array();
	static $models	= array('M00I001');

	public function __construct(){
        parent::__construct('defaults');
		$this->load->helper(self::$helpers);
		$this->load->model(self::$models);
    }
	
	public function index()
	{
		$this->load->view('welcome_message');
	}
	
	public function test($id=0){
		echo 'test', '==', $id;
	}
	
	public function info(){
		echo $this->router->fetch_module();
		echo "<br/>";
		echo $this->router->fetch_class();
		echo "<br/>";
		echo $this->router->fetch_method();
	}
}

/* End of file welcome.php */
/* Location: ./application/modules/admin/controllers/welcome.php */